package routers

import (
	studentcontroller "system_go/controllers/studentController"

	"github.com/gin-gonic/gin"
)

func studentRouter(r *gin.RouterGroup) {
	r.GET("/student", studentcontroller.GetAllStudent)
	r.POST("/student", studentcontroller.AddStudent)
	r.PUT("/student", studentcontroller.UpdateStudent)
	r.DELETE("/student/:id", studentcontroller.DelStudent)
}
